<?php
function dirlist($path){
	$hds = glob($path);
	print_r($hds);
	foreach( $hds as $filename ) {
		if( is_dir($filename) ){
			dirlist($filename.'./*');
		}
		else{
			echo $filename."\n";
		}
	}
}

dirlist("E:/xampp/htdocs/google_code/ellacms/public/files/*");

?>

